package com.blockmeta.bbs.businesslibrary.net.pojo;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by author on 2018/1/6.
 */

public class BBSCommentDetailPOJO {

    /**
     * 1094223 : {"tid":135040,"pid":1094223,"title":"","post_date":"1519647956","content":"评论带图 测试一下","author_info":{"mPostName":"236802","name":"author","desc":"","avatar":"http://8btc.com/uc_server/data/avatar/000/23/68/02_avatar_middle.jpg"},"topid":"0","parentid":"0","position":"2","attachments":[{"aid":"270108","url":"http://8btc.com/data/attachment/forum/201802/26/202529r28g7r76epw81r2o.jpg","thumb":"http://8btc.com/data/attachment/forum/201802/26/202529r28g7r76epw81r2o.jpg","filename":"yoona.jpg","filesize":"30721"}],"child":[]}
     */


    /**
     * tid : 135040
     * pid : 1094223
     * title :
     * post_date : 1519647956
     * content : 评论带图 测试一下
     * author_info : {"mPostName":"236802","name":"author","desc":"","avatar":"http://8btc.com/uc_server/data/avatar/000/23/68/02_avatar_middle.jpg"}
     * topid : 0
     * parentid : 0
     * position : 2
     * attachments : [{"aid":"270108","url":"http://8btc.com/data/attachment/forum/201802/26/202529r28g7r76epw81r2o.jpg","thumb":"http://8btc.com/data/attachment/forum/201802/26/202529r28g7r76epw81r2o.jpg","filename":"yoona.jpg","filesize":"30721"}]
     * child : []
     */
    private List<ChildBean> child;

    public List<ChildBean> getChild() {
        return child;
    }

    public void setChild(List<ChildBean> child) {
        this.child = child;
    }

    private List<AttachmentsBean> attachments;

    public List<AttachmentsBean> getAttachments() {
        return attachments;
    }

    public void setAttachments(List<AttachmentsBean> attachments) {
        this.attachments = attachments;
    }


    public static class AttachmentsBean {
        /**
         * aid : 270108
         * url : http://8btc.com/data/attachment/forum/201802/26/202529r28g7r76epw81r2o.jpg
         * thumb : http://8btc.com/data/attachment/forum/201802/26/202529r28g7r76epw81r2o.jpg
         * filename : yoona.jpg
         * filesize : 30721
         */

        private String url;
        private String thumb;


        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }


    }

    /**
     * tid : 11078
     * pid : 40571
     * title :
     * post_date :1516283194
     * content : <i class="pstatus"> 本帖最后由 冇地 于 2014-10-22 11:07 编辑 </i><br />
     * <br />
     * <img mPostName="aimg_D1j1w" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="http://8btc.com/static/image/common/emp.gif" onmouseover="img_onmouseoverfunc(this)" onload="thumbImg(this)" border="0" alt="" /><br />
     * <br />
     * <img mPostName="aimg_iAwe7" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="http://8btc.com/data/attachment/album/201410/22/110237t330dr7g3g8q1dqc.jpeg" onmouseover="img_onmouseoverfunc(this)" onload="thumbImg(this)" border="0" alt="" /><br />
     * <br />
     * 交易：796 bter<br />
     * 钱包：bitcoin blockchain 币付宝 hive<br />
     * 行情：比特币大师 比特币行情宝<br />
     * 其他：比特币吧<br />
     * <br />
     * <p>
     * author_info : {"mPostName":"7574","name":"冇地","desc":"","avatar":"http://8btc.com/uc_server/data/avatar/000/00/75/74_avatar_middle.jpg"}
     * topid : 0
     * parentid : 0
     * position : 2
     * "like": 0,
     * "quote_from": "",
     * "quote_message": "",
     * "content_meaasge": "",
     * "quote_type": "",
     */

    private String tid;
    private String pid;
    private String title;
    private String post_date;
    private String content;
    private AuthorInfoBean author_info;
    private String topid;
    private String parentid;
    private String position;
    private String attitude;
    private int like;
    private String quote_from;
    private String quote_message;
    private String content_meaasge;
    private String quote_type;
    /** 0 吃瓜 1 正方 2 反方*/
    private int stand;

    public int getStand() {
        return stand;
    }

    public void setStand(int stand) {
        this.stand = stand;
    }

    public String getQuote_from() {
        return quote_from;
    }

    public void setQuote_from(String quote_from) {
        this.quote_from = quote_from;
    }

    public String getQuote_message() {
        return quote_message;
    }

    public void setQuote_message(String quote_message) {
        this.quote_message = quote_message;
    }

    public String getContent_meaasge() {
        return content_meaasge;
    }

    public void setContent_meaasge(String content_meaasge) {
        this.content_meaasge = content_meaasge;
    }

    public String getQuote_type() {
        return quote_type;
    }

    public void setQuote_type(String quote_type) {
        this.quote_type = quote_type;
    }

    public String getAttitude() {
        return attitude;
    }

    public void setAttitude(String attitude) {
        this.attitude = attitude;
    }

    public int getLike() {
        return like;
    }

    public void setLike(int like) {
        this.like = like;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPost_date() {
        return post_date;
    }

    public void setPost_date(String post_date) {
        this.post_date = post_date;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public AuthorInfoBean getAuthor_info() {
        return author_info;
    }

    public void setAuthor_info(AuthorInfoBean author_info) {
        this.author_info = author_info;
    }

    public String getTopid() {
        return topid;
    }

    public void setTopid(String topid) {
        this.topid = topid;
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public static class AuthorInfoBean {
        /**
         * mPostName : 7574
         * name : 冇地
         * desc :
         * avatar : http://8btc.com/uc_server/data/avatar/000/00/75/74_avatar_middle.jpg
         */

        private String id;
        private String name;
        private String desc;
        private String avatar;
        private String group_title;
        private String date;

        public String getGroup_title() {
            return group_title;
        }

        public void setGroup_title(String group_title) {
            this.group_title = group_title;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }
    }

    public static class ChildBean {
        /**
         * tid : 105992
         * pid : 947272
         * title :
         * post_date : 1513007382
         * content : <a href="http://ecip1017.com/" target="_blank">http://ecip1017.com/</a> 具体进度可以在这里查看 ，大概还有两个小时。
         * author_info : {"mPostName":"10358","name":"萌大大","desc":"","avatar":"http://8btc.com/uc_server/data/avatar/000/01/03/58_avatar_middle.jpg"}
         * topid : 947203
         * parentid : 947203
         * position : 87
         * is_author_reply : 1
         * attachments : []
         */

        private int tid;
        private int pid;
        private String title;
        private String post_date;
        private String content;
        @SerializedName("author_info")
        private AuthorInfoBean author_info;
        private String topid;
        private String parentid;
        private String position;
        private int is_author_reply;
        private List<AttachmentsBean> attachments;


        public int getTid() {
            return tid;
        }

        public void setTid(int tid) {
            this.tid = tid;
        }

        public int getPid() {
            return pid;
        }

        public void setPid(int pid) {
            this.pid = pid;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getPost_date() {
            return post_date;
        }

        public void setPost_date(String post_date) {
            this.post_date = post_date;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public AuthorInfoBean getAuthor_info() {
            return author_info;
        }

        public void setAuthor_info(AuthorInfoBean author_info) {
            this.author_info = author_info;
        }

        public String getTopid() {
            return topid;
        }

        public void setTopid(String topid) {
            this.topid = topid;
        }

        public String getParentid() {
            return parentid;
        }

        public void setParentid(String parentid) {
            this.parentid = parentid;
        }

        public String getPosition() {
            return position;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public int getIs_author_reply() {
            return is_author_reply;
        }

        public void setIs_author_reply(int is_author_reply) {
            this.is_author_reply = is_author_reply;
        }

        public List<AttachmentsBean> getAttachments() {
            return attachments;
        }

        public void setAttachments(List<AttachmentsBean> attachments) {
            this.attachments = attachments;
        }

        public static class AttachmentsBean {
            /**
             * aid : 270108
             * url : http://8btc.com/data/attachment/forum/201802/26/202529r28g7r76epw81r2o.jpg
             * thumb : http://8btc.com/data/attachment/forum/201802/26/202529r28g7r76epw81r2o.jpg
             * filename : yoona.jpg
             * filesize : 30721
             */

//            private String aid;
            private String url;
            private String thumb;
//            private String filename;
//            private String filesize;


            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }
        }

        public static class AuthorInfoBean {
            /**
             * mPostName : 10358
             * name : 萌大大
             * desc :
             * avatar : http://8btc.com/uc_server/data/avatar/000/01/03/58_avatar_middle.jpg
             */

            private String id;
            private String name;
            private String desc;
            private String avatar;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public AuthorInfoBean() {
            }

            public AuthorInfoBean(String id, String name, String desc, String avatar) {
                this.id = id;
                this.name = name;
                this.desc = desc;
                this.avatar = avatar;
            }
        }
    }
}
